import request from '../../config/request'

// 专业查询
export const loadAdminSpecialized = function (params = {}) {
  return request({
    url: '/api/v1/admin/specialized',
    method: 'get',
    params: params,
  })
}

// 专业删除
export const removeAdminSpecialized = function (major_id = '') {
  return request({
    url: '/api/v1/admin/specialized',
    method: 'delete',
    params: {
      major_id: major_id,
    },
  })
}
